public class Test {
    public static void main(String[] args) {
        System.out.println("层序遍历");
        Test6 test6=new Test6();
        Test6.TreeNode root=test6.createTree();
        test6.levelOrder(root);

        System.out.println("测试是否是满二叉树");
        System.out.println(test6.isCompleteTree(root));

        System.out.println("非递归前序遍历");
        test6.preOrderNot(root);

        System.out.println();
        System.out.println("非递归中序遍历");
        test6.inOrderNot(root);

        System.out.println();
        System.out.println("非递归后序遍历");
        test6.postOrderNot(root);
    }
}
